home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Monster Media 1996 #15
/
Monster Media Number 15 (Monster Media)(July 1996).ISO
/
pcboard
/
makeup1.zip
/
MAKEUP.PPE
(
.txt
)
< prev
next >
Wrap
PCBoard Programming Language Executable
|
1996-03-26
|
8KB
|
259 lines
;------------------------------------------------------------------------------
; .ss.
; `²²'
; .,sS$Ss,,s$ .,sS$$$Ss. .,sS$Ss,,s$ .ss. .sSs.
; .d$$²^°²$$$$'.d$P²°^^²$P'.d$$²^°²$$$$'.$$$' .$$$²Sb,.
; $$$' .$$$' $$$²Sçsµ²' .$$$' .$$$'.$$$' .$$$' `$$b.
; $$$b,,d$$$' ,$$$b,....,s$$$$b,,d$$$'.$$$;.,$$$' ;$$$
; `²S$$S²²S$$S²°²S$$$$S²°°²S$$$$$$',$$S²°²S$S'.sS$$$P²'
; .sS²°$$$²²°"' d²°'
; .$$² .$$'
; $$$.,d$$'
; `²S$$S²'
;------------------------------------------------------------------------------
; P.P.L.X. 2.OO (C)1996 - Lone Runner / AEGiS CoRP'96
;------------------------------------------------------------------------------
; PPE 3.1O (Encryption type I) - Analysis ON - Postprocessing ON
;------------------------------------------------------------------------------
Integer INTEGER001
String STRING003
String STRING004
String STRING005
String STRING006
String STRING007
String STRING008
String STRING009
String STRING010
String STRING011
String STRING012
String STRING013
;------------------------------------------------------------------------------
GetUser
If ((Psa(2) == 0) && (Psa(3) == 0)) Stop
If (((((((Strip(U_Addr(0), " ") == "") && (Strip(U_Addr(1), " ") == "")) || (Strip(U_Addr(2), " ") == "")) || (Strip(U_Addr(3), " ") == "")) || (Strip(U_Addr(4), " ") == "")) || (Strip(U_Addr(5), " ") == "")) || (Psa(2) && (Strip(U_Ver, " ") == ""))) Goto LABEL001
End
:LABEL001
Gosub LABEL002
STRING003 = ""
PrintLn "@CLS@@X60@POS:80@@X0F"
PrintLn "@X60 @X0F Date: @X0E@SYSDATE@@BOARDNAME:45C@@X0FTime: @X0E@SYSTIME@ ET @X60@POS:80@@X0F"
PrintLn "@X60 @X0F Carrier:@X0E@CARRIER:6R@@X0A Login Interrupt @X0FTime Left:@X0E@MINLEFT:4R@ @X60@POS:80@@X0F"
PrintLn "@X60@POS:80@@X0F"
Newline
PrintLn " Your registration is incomplete. Please complete your @X0EAddress Information@X0F."
Newline
PrintLn " @X0AA @X0FLine 1, Street (Mail) Address @X0AD @X0FProvince or State"
PrintLn " @X0AB @X0FLine 2, Street (Mail) Address @X0AE @X0FPostal/Zipcode"
PrintLn " @X0AC @X0FCity, Town or Village @X0AF @X0FCountry, Nation or Region"
If (Psa(2) <> 0) Then
PrintLn " @G @X0FVerification Information @X0AQ @X0FQuit and Save Corrections"
STRING005 = "abcdefgqABCDEFGQ"
Else
PrintLn " @X0AQ @X0FQuit and Save Corrections"
STRING005 = "abcdefqABCDEFQ"
Endif
PrintLn " @X06┌───────────────────────────────────────────────────────────┐"
PrintLn " @X06│ @X0AA @X0F= @X0E" + STRING007 + "@POS:70@@X06│"
PrintLn " @X06│ @X0AB @X0F= @X0E" + STRING008 + "@POS:70@@X06│"
PrintLn " @X06│ @X0AC @X0F= @X0E" + STRING009 + "@POS:46@@X0AE @X0F= @X0E" + STRING011 + "@POS:70@@X06│"
PrintLn " @X06│ @X0AD @X0F= @X0E" + STRING010 + "@POS:46@@X0AF @X0F= @X0E" + STRING012 + "@POS:70@@X06│"
If (Psa(2) <> 0) Then
PrintLn " @X06│ @X0AG @X0F= @X0E" + STRING013 + "@POS:46@@X0F<-- WILL NOT ECHO" + "@POS:70@@X06│"
PrintLn " @X06└───────────────────────────────────────────────────────────┘"
Else
PrintLn " @X06└───────────────────────────────────────────────────────────┘"
Endif
InputStr "@X0FWhich field would you like to revise@X0A", STRING003, 14, 1, STRING005, 2 + 4 + 8 + 128 + 32
If (STRING003 == "A") Gosub LABEL003
If (STRING003 == "B") Gosub LABEL004
If (STRING003 == "C") Gosub LABEL005
If (STRING003 == "D") Gosub LABEL006
If (STRING003 == "E") Gosub LABEL007
If (STRING003 == "F") Gosub LABEL008
If ((STRING003 == "G") && Psa(2)) Gosub LABEL009
If (STRING003 == "Q") Goto LABEL010
If (STRING003 == "") Goto LABEL010
Goto LABEL001
:LABEL002
STRING007 = Left(RTrim(U_Addr(0), Chr(32)) + "·················································", 49)
STRING008 = Left(RTrim(U_Addr(1), Chr(32)) + "·················································", 49)
STRING009 = Left(RTrim(U_Addr(2), Chr(32)) + "·························", 25)
STRING010 = Left(RTrim(U_Addr(3), Chr(32)) + "·························", 25)
STRING011 = Left(RTrim(U_Addr(4), Chr(32)) + "···············", 15)
STRING012 = Left(RTrim(U_Addr(5), Chr(32)) + "···············", 15)
STRING013 = Left(RTrim(U_Ver, Chr(32)) + "·························", 25)
For INTEGER001 = 1 To Len(U_Ver)
STRING013 = Replace(STRING013, Mid(STRING013, INTEGER001, 1), "*")
Next
Return
:LABEL003
If (Exist(PPEPath() + "makeupA")) DispFile PPEPath() + "makeupA", 4 + 2 + 1
InputStr "@X0FLine 1, Street (Mail) Address@X0A", U_Addr(0), 14, 50, Mask_Alpha() + Mask_Num() + Mask_Ascii(), 2 + 4 + 8 + 128
Return
:LABEL004
If (Exist(PPEPath() + "makeupB")) DispFile PPEPath() + "makeupB", 4 + 2 + 1
InputStr "@X0FLine 2, Street (Mail) Address@X0A", U_Addr(1), 14, 50, Mask_Alpha() + Mask_Num() + Mask_Ascii(), 2 + 4 + 8 + 128
Return
:LABEL005
If (Exist(PPEPath() + "makeupC")) DispFile PPEPath() + "makeupC", 4 + 2 + 1
InputStr "@X0FCity, Town or Village@X0A", U_Addr(2), 14, 25, Mask_Alpha() + Mask_Num() + Mask_Ascii(), 2 + 4 + 8 + 128
Return
:LABEL006
If (Exist(PPEPath() + "makeupD")) DispFile PPEPath() + "makeupD", 4 + 2 + 1
InputStr "@X0FProvince or State@X0A", U_Addr(3), 14, 10, Mask_Alpha() + Mask_Num() + Mask_Ascii(), 2 + 4 + 8 + 128
Return
:LABEL007
If (Exist(PPEPath() + "makeupE")) DispFile PPEPath() + "makeupE", 4 + 2 + 1
InputStr "@X0FPostal/Zipcode@X0A", U_Addr(4), 14, 10, Mask_Alpha() + Mask_Num() + Mask_Ascii(), 2 + 4 + 8 + 128
Return
:LABEL008
If (Exist(PPEPath() + "makeupF")) DispFile PPEPath() + "makeupF", 4 + 2 + 1
InputStr "@X0FCountry, Nation or Region@X0A", U_Addr(5), 14, 15, Mask_Alpha() + Mask_Num() + Mask_Ascii(), 2 + 4 + 8 + 128
Return
:LABEL009
If (Replace(Trim(Strip(U_Ver, Chr(255)), " "), Chr(255), " ") <> "") Then
Newline
PrintLn " @X0EIf you need to change or alter this field, you must first enter"
PrintLn " the information exactly like it was first entered."
PromptStr 707, STRING006, 25, Mask_Alpha() + Mask_Num() + Mask_Ascii(), 2 + 4 + 8 + 128 + 256 + 64
If (STRING006 == U_Ver) Then
If (Exist(PPEPath() + "makeupG")) DispFile PPEPath() + "makeupG", 4 + 2 + 1
PromptStr 706, U_Ver, 25, Mask_Ascii(), 2 + 4 + 8 + 128 + 256
ElseIf (STRING006 <> "") Then
PrintLn " @X0FSorry, the User Verification Information you just entered, does"
PrintLn " @X0ENOT @X0Fmatch the information you previuosly entered."
Newline
Wait
Endif
Else
If (Replace(Trim(Strip(U_Ver, Chr(255)), " "), Chr(255), " ") == "") Then
If (Exist(PPEPath() + "makeupG")) DispFile PPEPath() + "makeupG", 4 + 2 + 1
PromptStr 706, U_Ver, 25, Mask_Ascii(), 2 + 4 + 8 + 128
Endif
Endif
Return
:LABEL010
If (((((((Strip(U_Addr(0), " ") == "") && (Strip(U_Addr(1), " ") == "")) || (Strip(U_Addr(2), " ") == "")) || (Strip(U_Addr(3), " ") == "")) || (Strip(U_Addr(4), " ") == "")) || (Strip(U_Addr(5), " ") == "")) || (Psa(2) && (Strip(U_Ver, " ") == ""))) Goto LABEL011
Cls
Newline
PrintLn " @X0FThanks for taking the time to complete your registration."
PrintLn " This information will enable us to automate the completion of order forms"
PrintLn " and other registrations that you may select while online."
PrintLn
PrintLn " If you need to update your address information in the future,"
PrintLn " go to the @X0EUSER @X0FMenu and select ""@X0AW@X0F""."
Newline
Log "User updated his address information via MAKEUP.PPE", 0
DispText 273, 256 + 2048
Newline
PutUser
Wait
End
:LABEL011
STRING004 = Upper(NoChar())
Cls
Newline
PrintLn " @X0EThe following fields are still empty and need to filled:"
Newline
If ((Strip(U_Addr(0), " ") == "") && (Strip(U_Addr(1), " ") == "")) PrintLn " @X0AA@X0F @X0FLine 1, Street (Mail) Address"
If (Strip(U_Addr(2), " ") == "") PrintLn " @X0AC@X0F City, Town or Village"
If (Strip(U_Addr(3), " ") == "") PrintLn " @X0AD@X0F Province or State"
If (Strip(U_Addr(4), " ") == "") PrintLn " @X0AE@X0F Postal/Zipcode"
If (Strip(U_Addr(5), " ") == "") PrintLn " @X0AF@X0F Country, Nation or Region"
If (Psa(2) && (Strip(U_Ver, " ") == "")) PrintLn " @X0AG@X0F Verification Information"
Newline
PrintLn " @X0FWe apologize for the inconvenience, but"
PrintLn " you @X0EMUST @X0Fprovide the above information in order to continue."
Newline
InputYN "@X0FWould you rather logoff (@X0Ay@X0F/@X0AN@X0F)@X0A", STRING004, 10
If (Upper(Left(STRING004, 1)) == YesChar()) Then
Log "User refused to complete registration with address info via MAKEUP.PPE.", 0
Else
Goto LABEL001
Endif
PutUser
Bye
End
;------------------------------------------------------------------------------
;
; Usage report (before postprocessing)
;
; ■ Statements used :
;
; 3 End
; 2 Cls
; 2 Wait
; 20 Goto
; 14 Let
; 37 PrintLn
; 34 If
; 8 DispFile
; 1 GetUser
; 2 PutUser
; 2 Log
; 7 InputStr
; 1 InputYN
; 8 Gosub
; 8 Return
; 3 PromptStr
; 11 Newline
; 1 DispText
; 1 Stop
; 1 Bye
;
;
; ■ Functions used :
;
; 104 +
; 35 ==
; 4 <>
; 1 <
; 1 <=
; 2 >=
; 8 !
; 10 &&
; 11 ||
; 2 Len(
; 2 Upper()
; 1 Mid()
; 8 Left()
; 11 Chr()
; 7 RTrim()
; 2 Trim()
; 1 NoChar()
; 1 YesChar()
; 3 Replace()
; 23 Strip()
; 7 Mask_Alpha()
; 7 Mask_Num()
; 9 Mask_Ascii()
; 16 PPEPath()
; 8 Exist()
; 8 Psa()
;
;------------------------------------------------------------------------------
;
; Analysis flags : W
;
; W - Write user ■ 5
; Program writes a user record. Although this may be normal for a
; User Editor, it may also be a way to modify an account level.
; ■ Search for : PUTUSER
;
;------------------------------------------------------------------------------
;
; Postprocessing report
;
; 1 For/Next
; 0 While/EndWhile
; 7 If/Then or If/Then/Else
; 0 Select Case
;
;------------------------------------------------------------------------------
; AEGiS Corp - Break the routines, code against the machines!
;------------------------------------------------------------------------------